public class ConcreteFactory2 extends Factory
{
    public Product factoryMethod()
    {
        return new ConcreteProduct2();
    }
}
